windows安装 RabbitMQ
搭建RabbitMQ环境
下载
RabbitMQ 下载地址:http://www.rabbitmq.com/download.html
Erlang 下载地址:http://erlang.org/download/otp_win64_22.0.exe
windows下安装
1.先安装Erlang E:\Program Files\erl10.4
2.设置系统变量 (E:\Program Files\erl10.4\bin)
3.再安装 RabbitMQ
4.进入G:\WAMP\RabbitMQ Server\rabbitmq_server-3.7.15\sbin 目录执行
rabbitmq-plugins enable rabbitmq_management
net stop RabbitMQ && net start RabbitMQ
5.在浏览器中输入地址查看:http://127.0.0.1:15672/
6.使用默认账号登录:guest/ guest
教程
http://previous.rabbitmq.com/v3_5_7/getstarted.html
下载PHP-amqp扩展 http://pecl.php.net/package/amqp
php.ini配置 添加
php5.6
[amqp]
extension=php_amqp.dll
LoadFile 'G:/WAMP/php-5.6.32-Win32-VC11-x64/rabbitmq.1.dll'
php7.3.1
[amqp]
extension=php_amqp.dll
LoadFile 'G:/WAMP/php-7.3.1-Win32-VC15-x64/rabbitmq.4.dll'